Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDraft


AcquireDraftProperties

The AcquireDraftProperties method returns a reference to the storage unit in which this draft stores its properties and data that are global to this draft.

ODStorageUnit AcquireDraftProperties ();
return value
A reference to this draft's draft-properties storage unit.
DISCUSSION
The draft stores information about itself in its draft-properties storage unit. In addition, your part may create properties in this storage unit to store information related to this draft.

This method increments the reference count of the returned storage unit. When you have finished using that storage unit, you should call its Release method.

EXCEPTIONS
kODErrNoDraftProperties
A draft-properties storage unit cannot be created.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help